<template>
	<view>
		<view class="all">
			<view class="top-texts">
				<view class="kong"></view>
				<view class="top">
					Welcome to
				</view>
				<view class="mid">
					moving and reborn
				</view>
				<view class="bottom">
					希望您能喜欢这款小程序给您带来的便利，
					特表忠心。
				</view>
			</view>
			<view class="search-all">
				<view class="border">
					<view class="search">
						<input type="text" class="ipt" v-model="inputText"/>
						<button type="submit" class="btn" hover-class="unbtn">search</button>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: 'search',
		data() {
			return {
				inputText: ''
			};
		}
	}
</script>

<style lang="scss">
	.all{
		box-sizing: border-box;
		padding: 0px 30rpx;
		height: 1000rpx;
		background-color: #eef2fb;
		border-radius: 0px 0px 70px 70px;
	}
	.top-texts{
		border-radius: 0px 0px 90rpx 90rpx;
		.kong{
			height: 1rpx;
		}
		.top{
			margin-top: 60px;
			margin-bottom: 60rpx;
			font-family: 'ErasITC-Bold';
			font-size: 100rpx;
			font-weight: 800;
			color: #222222;
		}
		.mid{
			font-weight: 800;
			color: #222222;
			font-family: 'ErasITC-Bold';
			font-size: 40rpx;
		}
		.bottom{
			margin-top: 30rpx;
			font-size: 20rpx;
			font-weight: 700;
			color: #4d4d4f;
		}
	}
	
	
	.search-all{
		text-align: center;
		.border{
			margin-top: 110rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			position: relative;
			width: 690rpx;
			height: 140rpx;
			background-color: #f6f8fd;
			border-radius: 50px;
			.ipt{
				text-align: left;
				width: 650rpx;
				height: 97rpx;
				background-color: #fff;
				border-radius: 50px;
				box-sizing: border-box;
				padding: 10rpx 15rpx;
				color: #4d4d4f;
				font-size: 30rpx;
				font-weight: 700;
			}
			.btn{
				display: flex;
				justify-content: center;
				align-items: center;
				width: 140rpx;
				height: 97rpx;
				position: absolute;
				right: 30rpx;
				top: 23rpx;
				border-radius: 49px;
				background-color: #e63a28;
				color: #FFFFFF;
			}
			.unbtn{
				display: flex;
				justify-content: center;
				align-items: center;
				width: 140rpx;
				height: 97rpx;
				position: absolute;
				right: 30rpx;
				top: 23rpx;
				border-radius: 49px;
				background-color: #1296db;
				color: #FFFFFF;
			}
		}
	}
</style>
